import request from '../util/axios'

// 新增字段信息
export const addMetadata = (data) => request({
  url: '/yuyi-category-boot/api/metadata/column',
  method: 'post',
  data: data
})
// 编辑字段信息
export const editMetadata = (data) => request({
  url: '/yuyi-category-boot/api/metadata/column',
  method: 'put',
  data: data
})
